package com.codepoem.designpattern.factorymethod

import com.codepoem.designpattern.simplefactory.Operation
import com.codepoem.designpattern.simplefactory.OperationSub

/**
 * 减法运算工厂
 */
class OperationSubFactory :IOperationFactory{

    override fun createOperation(): Operation {
        return OperationSub()
    }
}